package com.whynot.frame.basic.mybatis.model;

import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 描述: 实体基类
 * 作者: chenyao
 * 日期: 2018-01-30.
 * 项目名称: curtain-whynot-basic-mybatis
 * 版本: 1.0.0
 * JDK: since 1.8
 */
@Data
@ApiModel(value = "共有对象")
public abstract class BaseModel<T extends Model> extends Model<T> {
    @ApiModelProperty(value = "共有字段：备注")
    private String remark;
    @ApiModelProperty(value = "共有字段：创建人")
    private String creator;
    @ApiModelProperty(value = "共有字段：修改人")
    private String lastModify;
    @ApiModelProperty(value = "共有字段：创建时间")
    private String createTime;
    @ApiModelProperty(value = "共有字段：修改时间")
    private String lastModifyTime;
}